{% extends "base.html" %}

{% block title %}首页{% endblock title %}

{% block content %}
    <ul>
        {% for category in categories %}
            <li>
                <a href="{{ category.get_absolute_url }}">{{ category.name }}</a>
            </li>
        {% endfor %}
    </ul>
{% endblock content %}